package Queue;

import java.util.LinkedList;
import java.util.Queue;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: 故我
 * Date: 2024-02-02
 * Time: 14:33
 */
public class TestMain {
    public static void main(String[] args) {
        MyCircularQueue queue = new MyCircularQueue(4);
        queue.enQueue(1);
        queue.enQueue(2);
        queue.enQueue(3);

//        Queue<Integer> queue1 = new LinkedList<>();
//        queue1

        System.out.println(queue.Front());

//        MyQueue myQueue = new MyQueue();
//        myQueue.offer(1);
//        myQueue.offer(2);
//        myQueue.offer(3);
//        myQueue.offer(4);
//        myQueue.pull();
//        System.out.println(myQueue.peek());
//        Queue<Integer> queue = new LinkedList<>();
//        queue.offer(1);
//        queue.offer(2);
//        queue.offer(3);
//        queue.offer(4);
//
//        System.out.println(queue);
    }
}
